<?php /* Smarty version 2.6.14, created on 2009-08-24 16:35:36
         compiled from order_daili.htm */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'order_daili.htm', 79, false),)), $this); ?>
<form name="news_edit" action="" method="post">
<div class="maintable_div" style="width:750px">
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0" class="maintable">
  <tr>
    <th align="left"><div class="thead"><?php echo $this->_tpl_vars['page_title']; ?>
</div></th>
  </tr>
  <tr>
    <td>
    <table width="750" border="0" align="center" cellpadding="0" cellspacing="0" class="datalist">
  
      <tr bgcolor="#FFFFFF">
        <td width="200" align="center">订单号</td>
        <td align="left"><?php echo $this->_tpl_vars['o_row']['ordernum']; ?>
</td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td width="200" align="center">用户名</td>
        <td align="left"><?php echo $this->_tpl_vars['o_row']['username']; ?>
</td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td align="center">定金付款状态</td>
        <td align="left"><span class=<?php if ($this->_tpl_vars['o_row']['status'] == 1): ?>"green">是<?php else: ?>"gray">否<?php endif; ?></span></td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td align="center">策划活动支付状态</td>
        <td align="left"><span class=<?php if ($this->_tpl_vars['o_row']['planning_status'] == 1): ?>"green">是<?php else: ?>"gray">否<?php endif; ?></span></td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td align="center">到达日期</td>
        <td align="left"><?php echo $this->_tpl_vars['o_row']['comeday']; ?>
</td>
      </tr>
       <tr bgcolor="#FFFFFF">
        <td  align="center">离开日期</td>
        <td align="left"><?php echo $this->_tpl_vars['o_row']['leaveday']; ?>
</td>
      </tr>
       <tr bgcolor="#FFFFFF">
        <td align="center">参加人数</td>
        <td align="left"><?php echo $this->_tpl_vars['o_row']['joinnum']; ?>
</td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td align="center">理想情调</td>
        <td align="left"><?php echo $this->_tpl_vars['o_row']['likemood']; ?>
</td>
      </tr>
       <tr bgcolor="#FFFFFF">
        <td align="center">问题答案</td>
        <td align="left"><?php echo $this->_tpl_vars['o_row']['answer']; ?>
</td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td align="center">个性要求</td>
        <td align="left"><?php echo $this->_tpl_vars['o_row']['myrequest']; ?>
</td>
      </tr>
       <tr bgcolor="#FFFFFF">
        <td align="center">礼物</td>
        <td align="left">
		<?php unset($this->_sections['sec']);
$this->_sections['sec']['name'] = 'sec';
$this->_sections['sec']['loop'] = is_array($_loop=$this->_tpl_vars['g_row']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['sec']['show'] = true;
$this->_sections['sec']['max'] = $this->_sections['sec']['loop'];
$this->_sections['sec']['step'] = 1;
$this->_sections['sec']['start'] = $this->_sections['sec']['step'] > 0 ? 0 : $this->_sections['sec']['loop']-1;
if ($this->_sections['sec']['show']) {
    $this->_sections['sec']['total'] = $this->_sections['sec']['loop'];
    if ($this->_sections['sec']['total'] == 0)
        $this->_sections['sec']['show'] = false;
} else
    $this->_sections['sec']['total'] = 0;
if ($this->_sections['sec']['show']):

            for ($this->_sections['sec']['index'] = $this->_sections['sec']['start'], $this->_sections['sec']['iteration'] = 1;
                 $this->_sections['sec']['iteration'] <= $this->_sections['sec']['total'];
                 $this->_sections['sec']['index'] += $this->_sections['sec']['step'], $this->_sections['sec']['iteration']++):
$this->_sections['sec']['rownum'] = $this->_sections['sec']['iteration'];
$this->_sections['sec']['index_prev'] = $this->_sections['sec']['index'] - $this->_sections['sec']['step'];
$this->_sections['sec']['index_next'] = $this->_sections['sec']['index'] + $this->_sections['sec']['step'];
$this->_sections['sec']['first']      = ($this->_sections['sec']['iteration'] == 1);
$this->_sections['sec']['last']       = ($this->_sections['sec']['iteration'] == $this->_sections['sec']['total']);
?>
        <?php if ($this->_tpl_vars['g_row'][$this->_sections['sec']['index']]['products_name'] != ''): ?>
			<?php echo $this->_tpl_vars['g_row'][$this->_sections['sec']['index']]['products_name']; ?>
:<?php echo $this->_tpl_vars['g_row'][$this->_sections['sec']['index']]['productsprice']; ?>
元&nbsp;&nbsp;
         <?php else: ?>
         	没有买礼物
         <?php endif; ?>
		<?php endfor; endif; ?>
		</td>
      </tr>
	    <tr bgcolor="#FFFFFF">
        <td align="center">定金</td>
        <td align="left"><?php echo $this->_tpl_vars['o_row']['orderprice']; ?>
</td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td align="center">期望总额</td>
        <td align="left"><?php echo $this->_tpl_vars['o_row']['hopeprice']; ?>

       </td>
      </tr>
       <tr bgcolor="#FFFFFF">
        <td align="center">实际总额</td>
        <td align="left"><?php echo $this->_tpl_vars['o_row']['trueprice']; ?>

       </td>
      </tr>
       <tr bgcolor="#FFFFFF">
        <td align="center">订单日期</td>
        <td align="left"><?php echo ((is_array($_tmp=$this->_tpl_vars['o_row']['ordertime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d %H:%M:%S") : smarty_modifier_date_format($_tmp, "%Y-%m-%d %H:%M:%S")); ?>
</td>
      </tr>
 
      <!--<tr bgcolor="#FFFFFF">
        <td align="center">点击统计</td>
        <td align="left"><?php echo $this->_tpl_vars['click_count']; ?>
 次</td>
      </tr>-->
    </table>    </td>
  </tr>
</table>
</div>



<div class="formControl">
 
  <input type="button" name="return" value="返回上一页" class="button" onclick="history.go(-1)" />
  <input type="hidden" name="action" value="submit" />
  <input type="hidden" name="id" value="<?php echo $this->_tpl_vars['id']; ?>
" />
  <input type="hidden" name="classid" value="<?php echo $this->_tpl_vars['classid']; ?>
" />
</div>
</form>